package com.sanyang.logistics.zhd.dao;

import java.util.List;

import com.sanyang.logistics.pojo.OwnerTypeDim;
import com.sanyang.logistics.pojo.TruckDim;

public interface ITruckDimDao {
	/**
	 * 查询全部车辆
	 * @return
	 */
	public List<TruckDim> getAllTruck(TruckDim truckDim);
	
	/**
	 * 查询车辆
	 * @return
	 */
	public TruckDim getTruck(Integer truck_id);
	
	
	/**
	 * 修改
	 * @return
	 */
	public void updateTruck(TruckDim truckDim);
	
	/**
	 *添加
	 * @return
	 */
	public void addTruck(TruckDim truckDim);
	
	
	/**
	 *删除
	 * @return
	 */
	public void deleteTurck(Integer truck_id);
	
	/**
	 *查询车牌号
	 * @return
	 */
	public TruckDim getTruckLicense(String license);
	
	/**
	 *查询车辆所有者
	 * @return
	 */
	public List<OwnerTypeDim> getAllOwnerTypeDim();
	
}
